﻿<%@ Page language="c#" Codebehind="forumsContent.aspx.cs" AutoEventWireup="true" Inherits="test.forumsContent" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>forums</title>
		<LINK href="../springofwater.css" type="text/css" rel="stylesheet">
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<div align="center">
			<form id="Form1" method="post" runat="server">
				<div align="center">
					<table id="table81" width="80%" border="0">
						<tr>
							<td align="center">
								<% Server.Execute("header.aspx");%>
							</td>
						</tr>
					</table>
				</div>
				<div align="center">
					<table cellSpacing="0" cellPadding="0" width="770" align="center" border="0">
						<tr>
							<td>
								<ul style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 100%; PADDING-TOP: 0px; FONT-FAMILY: SimSun; LIST-STYLE-TYPE: none; BACKGROUND-COLOR: white">
									<li style="DISPLAY: inline">
										<A class="menu" href="index.aspx">泉源首页</A>
									<li style="DISPLAY: inline">
										<A class="selected" href="forumsStart.aspx">泉源论坛</A>
									<li style="DISPLAY: inline">
										<A class="menu" href="bloggermain.aspx">泉源博客</A>
									<li style="DISPLAY: inline">
										<A class="empty" href="jianzao.aspx"></A>
									<li style="DISPLAY: inline">
										<A class="menu" href="dengji.aspx">注册登记</A>
									<li style="DISPLAY: inline">
										<A class="menu" href="women.aspx">关于我们</A>
									<li style="DISPLAY: inline">
										<A class="menu" href="mailto:contact@springofwater.net">联络我们</A>
									</li>
								</ul>
							</td>
						</tr>
					</table>
				</div>
				<FONT face="???">
					<TABLE id="Table1" style="WIDTH: 755px; HEIGHT: 104px" borderColor="#6699cc" cellSpacing="0"
						cellPadding="0" bgColor="#f0f0f0" border="1">
						<TR>
							<td style="HEIGHT: 15px; width: 776px;" colSpan="2">
								<TABLE id="Table2" style="WIDTH: 770px; HEIGHT: 16px" bgColor="#5d9dd1">
									<TR>
										<TD align="center" bgColor="#5d9dd1" colSpan="1" rowSpan="1" style="width: 381px; height: 23px;">
                                            <a href="forumsStart.aspx?CategoryID=33&ForumID=11"><font color="#ffffff"><span style="font-size: 10pt;
                                                font-family: NSimSun">综合论坛</span></font></a><font color="#ffffff"><span style="font-size: 10pt;
                                                    font-family: NSimSun">| </span></font><a href="forumsStart.aspx?CategoryID=48&ForumID=15">
                                                        <font color="#ffffff"><span style="font-size: 10pt; font-family: NSimSun">祷告园地</span></font></a><span
                                                            style="font-size: 10pt"><span style="font-family: NSimSun"><font color="#ffffff"> </font>
                                                                <% if (sow.EmailDataAccess.hasUserRole(Request.Cookies["email"],5)) { %>
                                                                <font color="#ffffff">| </font><font color="#ffffff"><a href="forumsStart.aspx?CategoryID=53&ForumID=16">
                                                                    <font color="#ffffff">同工园地</font></a>
                                                                    <% } %>
                                                                    <font color="#ffffff">| </font><a href="bloggerweb.aspx?UserID=153"><font color="#ffffff">
                                                                        国内论坛</font></a><font color="#ffffff"></font></font></span></span></TD>
				 
                            </td>
				 
										<TD vAlign="middle" align="right" rowSpan="" style="width: 388px; height: 23px"><FONT color="#ffff66" size="2">
                                            <table>
                                                <tr>
                                                    <td style="width: 150px">
                                                        <span style="font-size: 10pt; color: #ffff66">版主：晓恩</span></td>
                                                    <td align="right" style="width: 100px">
                                                        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click1" Text="回复" />&nbsp;
                                                    </td>
                                                </tr>
                                            </table>
                                        </FONT> 
										</TD>
									</TR>
								</TABLE>
                       
                                            
			
			
			<DIV align="center">
			<table style="width: 750px"> 
			<tr>
			             <td>
			                  <asp:GridView id="GridView1" runat="server" OnRowDataBound="GridView1_RowDataBound" BackColor="White" PageSize="50" ForeColor="Navy" Font-Size="X-Small" OnPageIndexChanging="GridView1_PageIndexChanging" 
			                       AutoGenerateColumns="False" ShowHeader="False" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" Height="475px" Width="764px">
                                    <Columns>
                                        <asp:HyperLinkField DataTextField="NickName" HeaderText="作者" >
                                            <ItemStyle HorizontalAlign="Left" Font-Bold="True" VerticalAlign="Top" Width="120px" Height="100px"  />
                                        </asp:HyperLinkField>
                                        <asp:TemplateField HeaderText="标题">
                                            <HeaderStyle Font-Size="X-Small" ForeColor="#0000C0"  />
                                            <ItemTemplate>
                                                <asp:HyperLink ID="HyperLink2"    runat="server" NavigateUrl="" Text='<%# DisplayContent(Eval("Subject"), Eval("Body")) %>
											'></asp:HyperLink>
                                            </ItemTemplate>
                                            <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
                                        </asp:TemplateField>
                                    </Columns>
                                    <PagerSettings Position="Top"  />
                                    <HeaderStyle BackColor="LightSteelBlue"  />
                                    <AlternatingRowStyle BackColor="White"  />
                                </asp:GridView>
                                </td>
                     </tr>
                
                    <tr>
                        <td align="right" style="background-color: #5d9dd1" >
                          <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="回复" /></td>
                    </tr>
                </table>
                                
         </div>    
         </form>                   
                                
		<DIV align="center">
		 	<table id="table3" border="0" style="font-size: 12pt; width: 100%;">
				<tr>
					<td align="center">
						<% Server.Execute("tail.aspx");%>
					</td>
				</tr>
			</table>
		</div>
	</body>
</HTML>
